//package com.security.dataprocess.service.impl;
//
//import com.baomidou.mybatisplus.core.metadata.IPage;
//import com.baomidou.mybatisplus.core.toolkit.Wrappers;
//import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//import com.security.dataprocess.mapper.AlarmIndicatorFactorMapper;
//import com.security.dataprocess.model.AlarmIndicatorFactor;
//import com.security.dataprocess.service.IAlarmIndicatorFactorService;
//import org.springframework.stereotype.Service;
//
///**
// * <p>
// * 监测因子字典 服务实现类
// * </p>
// *
// * @author H
// * @since 2022-12-16
// */
//@Service
//public class AlarmIndicatorFactorServiceImpl extends ServiceImpl<AlarmIndicatorFactorMapper, AlarmIndicatorFactor> implements IAlarmIndicatorFactorService {
//
//    @Override
//    public  IPage<AlarmIndicatorFactor> findListByPage(Integer page, Integer pageCount){
//        IPage<AlarmIndicatorFactor> wherePage = new Page<>(page, pageCount);
//        AlarmIndicatorFactor where = new AlarmIndicatorFactor();
//
//        return   baseMapper.selectPage(wherePage, Wrappers.query(where));
//    }
//
//    @Override
//    public int add(AlarmIndicatorFactor alarmIndicatorFactor){
//        return baseMapper.insert(alarmIndicatorFactor);
//    }
//
//    @Override
//    public int delete(Long id){
//        return baseMapper.deleteById(id);
//    }
//
//    @Override
//    public int updateData(AlarmIndicatorFactor alarmIndicatorFactor){
//        return baseMapper.updateById(alarmIndicatorFactor);
//    }
//
//    @Override
//    public AlarmIndicatorFactor findById(Long id){
//        return  baseMapper.selectById(id);
//    }
//}
